package pacman.skills;


/**
 * This class represents pacman's upgraded Bite2
 * @author Leonardo
 */
public class Bite2X extends Skill{

    /**
     * Set the inicial parameters of skill
     * Set unavailable at the begining of the game
     */
    public Bite2X(){
        this.mana = 2;
        this.hit = 2;
        this.cost = 2;
        this.tick = 3;
        this.isActive = false;
        this.spriteIndex = 0;
    }

        
    /**
     * Activation of the skill
     * @param cost Cost of skill
     * @return cost
     */
    public int Activate(int cost){
        if(cost == this.cost)
            this.isActive = true;
        return this.cost;
    }

    
}
